package testpackage;

public class Person {
	
	//This class models a person
	
	//Instance Variables
	private String name;
	private char gender;
	private int age;
	
	//Constructor
	public Person (String name, char gender, int age){
		this.name = name;
		this.age = age;
		this.gender = gender;
		
	}
	
	//returns name
	private String name() {
		return this.name;
	}
	
	//returns gender
	private char gender() {
		return this.gender;
	}
	
	//returns age
	private int age() {
		return this.age;
	}
	
	//prints out a person's data
	public void display() {
		System.out.println(this.name);
		System.out.println(this.gender);
		System.out.println(this.age);
	}
}
